import { Pt } from "./pt";

export function ptDistSq(a:Pt, b:Pt){
    const xDiff = a.x - b.x
    const yDiff = a.y - b.y
    return xDiff**2 + yDiff**2
}